<!DOCTYPE html>
<html>
<head>
    <title>$action; null="Edit"$ Crawler</title>
</head>
<body>

<form class="crawl form-stacked" action="" method="POST">

    $input(name="form.name", label="Name", class="name", value=form.name, placeholder="Name")$
    $input(name="form.update", label="Update", class="update", value=form.update, placeholder="Update")$
    $input(name="form.from", label="From", class="from", value=form.from, placeholder="http://www.example.com/feed/xml")$
    $input(name="form.more", label="More", class="moreLink", value=form.more, placeholder="//link[@rel='prev-archive']/@href")$
    $input(name="form.checkpoint", label="Checkpoint Value", class="checkpoint", value=form.checkpoint, placeholder="2011-07-19T12:43:26Z")$
    $select(name="form.checkpointType", label="Checkpoint Type", class="checkpointType", value=form.checkpointType, values=types)$
    $checkbox(name="form.disabled", label="Disabled", class="Disabled", checked=form.disabled)$
    $recordDefinition(title="Fields", prefix="form.record.", record=form.record)$

    <div class="actions">
        <input type="submit" value="Save" name="action" class="save"/>
        <a href="list" class="cancel">Cancel</a>
    </div>
</form>

<div class="recordDefinitionTemplate">
    $recordDefinition(title="Fields", prefix="RECORD_PREFIX_REPLACE_ME")$
</div>
</body>
</html>